//
//  AEMyExchangeViewModel.h
//  AESOLAR_IOS
//
//  Created by Bin Tang on 2024/10/13.
//  Copyright © 2024 Mr.Wang. All rights reserved.
//

#import "TYZBaseViewModel.h"
#import "AEMyExchangeModel.h"
#import "AEConfirmOrderInfosRequest.h" // 我的兑换
#import "AEOrderInfoReceiveRequest.h" // 确认领取

NS_ASSUME_NONNULL_BEGIN

@interface AEMyExchangeViewModel : TYZBaseViewModel

@property (nonatomic, copy) NSString *statusName;

/// 领取状态(0:待领取;1:已领取) 全部 传null
@property (nonatomic, strong, nullable) NSNumber *receiveType;

/// 我的兑换信息
/// - Parameter completion: completion description
- (void)requestWithMyExchanageInfos:(RequestCompletionBlock)completion;

/// 确认
/// - Parameters:
///   - orderCode: orderCode description
///   - completion: completion description
- (void)requestWithOrderReceice:(NSString *)orderCode completion:(RequestCompletionBlock)completion;

@end

NS_ASSUME_NONNULL_END
